package cn.com.dcsgo.model;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 购物车中按店铺分组下的商品信息
 *
 * @author Dcsgo
 * @since 2025/11/15 9:24
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Schema(description = "购物车中按店铺分组下的商品信息")
public class ShopCartItem {
    /**
     * 购物项ID
     */
    @Schema(description = "购物项ID")
    private Long basketId;

    /**
     * 店铺ID
     */
    @Schema(description = "店铺ID")
    private Long shopId;

    /**
     * 商品ID
     */
    @Schema(description = "商品ID")
    private Long prodId;

    /**
     * 商品名称
     */
    @Schema(description = "商品名称")
    private String prodName;

    /**
     * SkuID
     */
    @Schema(description = "SkuID")
    private Long skuId;

    /**
     * 购物时间
     */
    @Schema(description = "购物时间")
    private Date createTime;

    /**
     * Sku 名称
     */
    @Schema(description = "Sku名称")
    private String skuName;

    /**
     * Sku图片
     */
    @Schema(description = "Sku图片")
    private String pic;

    /**
     * Sku价格
     */
    @Schema(description = "Sku价格")
    private BigDecimal price;

    /**
     * 商品数量
     */
    @Schema(description = "商品数量")
    private Integer prodCount;
}
